{include file="include:header" /}
<body class="fixed-sidebar full-height-layout gray-bg" >
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-sm-4">
            <h2>二级功能列表</h2>
            <!-- 导航部分 -->
            <ol class="breadcrumb">
                <li><a href="{:url('admin/Index/home')}">主页</a></li>
                <li><a href="{:url('admin/Account/index')}">账户管理</a></li>
                <li><strong>二级功能列表</strong></li>
            </ol>
        </div>
        <div class="col-sm-8">
            <div class="title-action">
                <!-- 链接部分 -->
                <a href="{:url('admin/Account/feature')}" class="btn btn-primary">返回上级</a>
            </div>
        </div>
    </div>
    <!-- 会员列表 -->
    <div class="wrapper wrapper-content  sonmenus-data">
        <!-- 表格主体 -->
        <table class="table table-bordered white-bg">
            <tr>
                <th>功能</th>
                <th>功能地址</th>  
                <th>三级功能</th>       
                <th>操作</th>
            </tr>
            {volist name="list" id="v"}
            <tr>
               
                <td >{$v['am_mname']}</td>
                <td>{$v['am_murl']}</td>
                <td>
                    {volist name="v['child_two']" id="v1"}
                          {$v1['af_fname']}|
                    {/volist}
                </td>
                <td>
                   <a href="{:url('admin/Account/functionAdd',array('admin_menu_id'=>$v['admin_menu_id'],'am_pid'=>$v['am_pid']))}" class="btn btn-xs btn-primary btn-outline">添加</a>
                  <a href="{:url('admin/Account/fudetails',array('admin_menu_id'=>$v['admin_menu_id'],'am_pid'=>$v['am_pid']))}" class="btn btn-xs btn-primary btn-outline">详细</a>
               </td>
             
            </tr>
          {/volist}
        </table>
        <!-- 分页 -->
            <div class="btn-group">{$page}</div>
    </div>

</body>
</html>
{include file="include:js" /}
